#
# Copyright 2012 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
#
# Refer to the README and COPYING files for full details of the license
#

PROFILE_INFO = {'bricks': [
    {'brick': '10.16.159.6:/m1',
     'cumulativeStats': {
         'blockStats': [{'read': '0',
                         'size': '1',
                         'write': '0'},
                        {'read': '0',
                         'size': '2',
                         'write': '0'},
                        {'read': '0',
                         'size': '4',
                         'write': '0'},
                        {'read': '0',
                         'size': '8',
                         'write': '0'},
                        {'read': '0',
                         'size': '16',
                         'write': '0'},
                        {'read': '0',
                         'size': '32',
                         'write': '0'},
                        {'read': '0',
                         'size': '64',
                         'write': '0'},
                        {'read': '0',
                         'size': '128',
                         'write': '0'},
                        {'read': '0',
                         'size': '256',
                         'write': '0'},
                        {'read': '0',
                         'size': '512',
                         'write': '0'},
                        {'read': '0',
                         'size': '1024',
                         'write': '0'},
                        {'read': '0',
                         'size': '2048',
                         'write': '0'},
                        {'read': '0',
                         'size': '4096',
                         'write': '0'},
                        {'read': '0',
                         'size': '8192',
                         'write': '0'},
                        {'read': '0',
                         'size': '16384',
                         'write': '0'},
                        {'read': '0',
                         'size': '32768',
                         'write': '0'},
                        {'read': '0',
                         'size': '65536',
                         'write': '0'},
                        {'read': '0',
                         'size': '131072',
                         'write': '0'},
                        {'read': '0',
                         'size': '262144',
                         'write': '0'},
                        {'read': '0',
                         'size': '524288',
                         'write': '0'},
                        {'read': '0',
                         'size': '1048576',
                         'write': '0'},
                        {'read': '0',
                         'size': '2097152',
                         'write': '0'},
                        {'read': '0',
                         'size': '4194304',
                         'write': '0'},
                        {'read': '0',
                         'size': '8388608',
                         'write': '0'},
                        {'read': '0',
                         'size': '16777216',
                         'write': '0'},
                        {'read': '0',
                         'size': '33554432',
                         'write': '0'},
                        {'read': '0',
                         'size': '67108864',
                         'write': '0'},
                        {'read': '0',
                         'size': '134217728',
                         'write': '0'},
                        {'read': '0',
                         'size': '268435456',
                         'write': '0'},
                        {'read': '0',
                         'size': '536870912',
                         'write': '0'},
                        {'read': '0',
                         'size': '1073741824',
                         'write': '0'},
                        {'read': '0',
                         'size': '2147483648',
                         'write': '0'}],
         'duration': '1294181',
         'fopStats': [{'hits': '9',
                       'latencyAvg': '61.333333',
                       'latencyMax': '310.000000',
                       'latencyMin': '22.000000',
                       'name': 'STAT'},
                      {'hits': '8',
                       'latencyAvg': '97.125000',
                       'latencyMax': '369.000000',
                       'latencyMin': '31.000000',
                       'name': 'STATFS'},
                      {'hits': '1',
                       'latencyAvg': '95.000000',
                       'latencyMax': '95.000000',
                       'latencyMin': '95.000000',
                       'name': 'SETXATTR'},
                      {'hits': '1',
                       'latencyAvg': '15606.000000',
                       'latencyMax': '15606.000000',
                       'latencyMin': '15606.000000',
                       'name': 'ACCESS'},
                      {'hits': '1',
                       'latencyAvg': '1387.000000',
                       'latencyMax': '1387.000000',
                       'latencyMin': '1387.000000',
                       'name': 'CREATE'},
                      {'hits': '2',
                       'latencyAvg': '324.500000',
                       'latencyMax': '594.000000',
                       'latencyMin': '55.000000',
                       'name': 'FSTAT'},
                      {'hits': '14',
                       'latencyAvg': '6240.642857',
                       'latencyMax': '85591.000000',
                       'latencyMin': '39.000000',
                       'name': 'LOOKUP'},
                      {'hits': '2',
                       'latencyAvg': '69.000000',
                       'latencyMax': '96.000000',
                       'latencyMin': '42.000000',
                       'name': 'SETATTR'},
                      {'hits': '2',
                       'latencyAvg': '272.000000',
                       'latencyMax': '456.000000',
                       'latencyMin': '88.000000',
                       'name': 'READDIRP'}],
         'totalRead': '0',
         'totalWrite': '0'},
     'intervalStats': {
         'blockStats': [{'read': '0',
                         'size': '1',
                         'write': '0'},
                        {'read': '0',
                         'size': '2',
                         'write': '0'},
                        {'read': '0',
                         'size': '4',
                         'write': '0'},
                        {'read': '0',
                         'size': '8',
                         'write': '0'},
                        {'read': '0',
                         'size': '16',
                         'write': '0'},
                        {'read': '0',
                         'size': '32',
                         'write': '0'},
                        {'read': '0',
                         'size': '64',
                         'write': '0'},
                        {'read': '0',
                         'size': '128',
                         'write': '0'},
                        {'read': '0',
                         'size': '256',
                         'write': '0'},
                        {'read': '0',
                         'size': '512',
                         'write': '0'},
                        {'read': '0',
                         'size': '1024',
                         'write': '0'},
                        {'read': '0',
                         'size': '2048',
                         'write': '0'},
                        {'read': '0',
                         'size': '4096',
                         'write': '0'},
                        {'read': '0',
                         'size': '8192',
                         'write': '0'},
                        {'read': '0',
                         'size': '16384',
                         'write': '0'},
                        {'read': '0',
                         'size': '32768',
                         'write': '0'},
                        {'read': '0',
                         'size': '65536',
                         'write': '0'},
                        {'read': '0',
                         'size': '131072',
                         'write': '0'},
                        {'read': '0',
                         'size': '262144',
                         'write': '0'},
                        {'read': '0',
                         'size': '524288',
                         'write': '0'},
                        {'read': '0',
                         'size': '1048576',
                         'write': '0'},
                        {'read': '0',
                         'size': '2097152',
                         'write': '0'},
                        {'read': '0',
                         'size': '4194304',
                         'write': '0'},
                        {'read': '0',
                         'size': '8388608',
                         'write': '0'},
                        {'read': '0',
                         'size': '16777216',
                         'write': '0'},
                        {'read': '0',
                         'size': '33554432',
                         'write': '0'},
                        {'read': '0',
                         'size': '67108864',
                         'write': '0'},
                        {'read': '0',
                         'size': '134217728',
                         'write': '0'},
                        {'read': '0',
                         'size': '268435456',
                         'write': '0'},
                        {'read': '0',
                         'size': '536870912',
                         'write': '0'},
                        {'read': '0',
                         'size': '1073741824',
                         'write': '0'},
                        {'read': '0',
                         'size': '2147483648',
                         'write': '0'}],
         'duration': '27',
         'fopStats': [],
         'totalRead': '0',
         'totalWrite': '0'}},
    {'brick': '10.16.159.6:/m2',
     'cumulativeStats': {
         'blockStats': [{'read': '0',
                         'size': '1',
                         'write': '0'},
                        {'read': '0',
                         'size': '2',
                         'write': '0'},
                        {'read': '0',
                         'size': '4',
                         'write': '0'},
                        {'read': '0',
                         'size': '8',
                         'write': '0'},
                        {'read': '0',
                         'size': '16',
                         'write': '0'},
                        {'read': '0',
                         'size': '32',
                         'write': '0'},
                        {'read': '0',
                         'size': '64',
                         'write': '0'},
                        {'read': '0',
                         'size': '128',
                         'write': '0'},
                        {'read': '0',
                         'size': '256',
                         'write': '0'},
                        {'read': '0',
                         'size': '512',
                         'write': '0'},
                        {'read': '0',
                         'size': '1024',
                         'write': '0'},
                        {'read': '0',
                         'size': '2048',
                         'write': '0'},
                        {'read': '0',
                         'size': '4096',
                         'write': '0'},
                        {'read': '0',
                         'size': '8192',
                         'write': '0'},
                        {'read': '0',
                         'size': '16384',
                         'write': '0'},
                        {'read': '0',
                         'size': '32768',
                         'write': '0'},
                        {'read': '0',
                         'size': '65536',
                         'write': '0'},
                        {'read': '0',
                         'size': '131072',
                         'write': '0'},
                        {'read': '0',
                         'size': '262144',
                         'write': '0'},
                        {'read': '0',
                         'size': '524288',
                         'write': '0'},
                        {'read': '0',
                         'size': '1048576',
                         'write': '0'},
                        {'read': '0',
                         'size': '2097152',
                         'write': '0'},
                        {'read': '0',
                         'size': '4194304',
                         'write': '0'},
                        {'read': '0',
                         'size': '8388608',
                         'write': '0'},
                        {'read': '0',
                         'size': '16777216',
                         'write': '0'},
                        {'read': '0',
                         'size': '33554432',
                         'write': '0'},
                        {'read': '0',
                         'size': '67108864',
                         'write': '0'},
                        {'read': '0',
                         'size': '134217728',
                         'write': '0'},
                        {'read': '0',
                         'size': '268435456',
                         'write': '0'},
                        {'read': '0',
                         'size': '536870912',
                         'write': '0'},
                        {'read': '0',
                         'size': '1073741824',
                         'write': '0'},
                        {'read': '0',
                         'size': '2147483648',
                         'write': '0'}],
         'duration': '1294181',
         'fopStats': [{'hits': '9',
                       'latencyAvg': '47.555556',
                       'latencyMax': '199.000000',
                       'latencyMin': '23.000000',
                       'name': 'STAT'},
                      {'hits': '8',
                       'latencyAvg': '74.750000',
                       'latencyMax': '248.000000',
                       'latencyMin': '24.000000',
                       'name': 'STATFS'},
                      {'hits': '1',
                       'latencyAvg': '52.000000',
                       'latencyMax': '52.000000',
                       'latencyMin': '52.000000',
                       'name': 'SETXATTR'},
                      {'hits': '1',
                       'latencyAvg': '454.000000',
                       'latencyMax': '454.000000',
                       'latencyMin': '454.000000',
                       'name': 'CREATE'},
                      {'hits': '2',
                       'latencyAvg': '82.000000',
                       'latencyMax': '113.000000',
                       'latencyMin': '51.000000',
                       'name': 'FSTAT'},
                      {'hits': '11',
                       'latencyAvg': '824.181818',
                       'latencyMax': '8381.000000',
                       'latencyMin': '38.000000',
                       'name': 'LOOKUP'},
                      {'hits': '2',
                       'latencyAvg': '59.000000',
                       'latencyMax': '66.000000',
                       'latencyMin': '52.000000',
                       'name': 'SETATTR'},
                      {'hits': '2',
                       'latencyAvg': '161.000000',
                       'latencyMax': '222.000000',
                       'latencyMin': '100.000000',
                       'name': 'READDIRP'}],
         'totalRead': '0',
         'totalWrite': '0'},
     'intervalStats': {
         'blockStats': [{'read': '0',
                         'size': '1',
                         'write': '0'},
                        {'read': '0',
                         'size': '2',
                         'write': '0'},
                        {'read': '0',
                         'size': '4',
                         'write': '0'},
                        {'read': '0',
                         'size': '8',
                         'write': '0'},
                        {'read': '0',
                         'size': '16',
                         'write': '0'},
                        {'read': '0',
                         'size': '32',
                         'write': '0'},
                        {'read': '0',
                         'size': '64',
                         'write': '0'},
                        {'read': '0',
                         'size': '128',
                         'write': '0'},
                        {'read': '0',
                         'size': '256',
                         'write': '0'},
                        {'read': '0',
                         'size': '512',
                         'write': '0'},
                        {'read': '0',
                         'size': '1024',
                         'write': '0'},
                        {'read': '0',
                         'size': '2048',
                         'write': '0'},
                        {'read': '0',
                         'size': '4096',
                         'write': '0'},
                        {'read': '0',
                         'size': '8192',
                         'write': '0'},
                        {'read': '0',
                         'size': '16384',
                         'write': '0'},
                        {'read': '0',
                         'size': '32768',
                         'write': '0'},
                        {'read': '0',
                         'size': '65536',
                         'write': '0'},
                        {'read': '0',
                         'size': '131072',
                         'write': '0'},
                        {'read': '0',
                         'size': '262144',
                         'write': '0'},
                        {'read': '0',
                         'size': '524288',
                         'write': '0'},
                        {'read': '0',
                         'size': '1048576',
                         'write': '0'},
                        {'read': '0',
                         'size': '2097152',
                         'write': '0'},
                        {'read': '0',
                         'size': '4194304',
                         'write': '0'},
                        {'read': '0',
                         'size': '8388608',
                         'write': '0'},
                        {'read': '0',
                         'size': '16777216',
                         'write': '0'},
                        {'read': '0',
                         'size': '33554432',
                         'write': '0'},
                        {'read': '0',
                         'size': '67108864',
                         'write': '0'},
                        {'read': '0',
                         'size': '134217728',
                         'write': '0'},
                        {'read': '0',
                         'size': '268435456',
                         'write': '0'},
                        {'read': '0',
                         'size': '536870912',
                         'write': '0'},
                        {'read': '0',
                         'size': '1073741824',
                         'write': '0'},
                        {'read': '0',
                         'size': '2147483648',
                         'write': '0'}],
         'duration': '27',
         'fopStats': [],
         'totalRead': '0',
         'totalWrite': '0'}}],
    'volumeName': 'music2'}

PROFILE_INFO_NFS = {'nfsServers': [
    {'nfs': '10.16.159.6',
     'cumulativeStats': {
         'blockStats': [{'read': '0',
                         'size': '1',
                         'write': '0'},
                        {'read': '0',
                         'size': '2',
                         'write': '0'},
                        {'read': '0',
                         'size': '4',
                         'write': '0'},
                        {'read': '0',
                         'size': '8',
                         'write': '1'},
                        {'read': '0',
                         'size': '16',
                         'write': '0'},
                        {'read': '0',
                         'size': '32',
                         'write': '0'},
                        {'read': '0',
                         'size': '64',
                         'write': '0'},
                        {'read': '0',
                         'size': '128',
                         'write': '0'},
                        {'read': '0',
                         'size': '256',
                         'write': '0'},
                        {'read': '0',
                         'size': '512',
                         'write': '0'},
                        {'read': '0',
                         'size': '1024',
                         'write': '0'},
                        {'read': '0',
                         'size': '2048',
                         'write': '0'},
                        {'read': '0',
                         'size': '4096',
                         'write': '0'},
                        {'read': '0',
                         'size': '8192',
                         'write': '0'},
                        {'read': '0',
                         'size': '16384',
                         'write': '0'},
                        {'read': '0',
                         'size': '32768',
                         'write': '0'},
                        {'read': '0',
                         'size': '65536',
                         'write': '0'},
                        {'read': '0',
                         'size': '131072',
                         'write': '0'},
                        {'read': '0',
                         'size': '262144',
                         'write': '0'},
                        {'read': '0',
                         'size': '524288',
                         'write': '0'},
                        {'read': '0',
                         'size': '1048576',
                         'write': '0'},
                        {'read': '0',
                         'size': '2097152',
                         'write': '0'},
                        {'read': '0',
                         'size': '4194304',
                         'write': '0'},
                        {'read': '0',
                         'size': '8388608',
                         'write': '0'},
                        {'read': '0',
                         'size': '16777216',
                         'write': '0'},
                        {'read': '0',
                         'size': '33554432',
                         'write': '0'},
                        {'read': '0',
                         'size': '67108864',
                         'write': '0'},
                        {'read': '0',
                         'size': '134217728',
                         'write': '0'},
                        {'read': '0',
                         'size': '268435456',
                         'write': '0'},
                        {'read': '0',
                         'size': '536870912',
                         'write': '0'},
                        {'read': '0',
                         'size': '1073741824',
                         'write': '0'},
                        {'read': '0',
                         'size': '2147483648',
                         'write': '0'}],
         'duration': '1108675',
         'fopStats': [{'hits': '28',
                       'latencyAvg': '1200.678571',
                       'latencyMax': '21977.000000',
                       'latencyMin': '264.000000',
                       'name': 'STAT'},
                      {'hits': '1',
                       'latencyAvg': '426.000000',
                       'latencyMax': '426.000000',
                       'latencyMin': '426.000000',
                       'name': 'WRITE'},
                      {'hits': '3',
                       'latencyAvg': '626.666667',
                       'latencyMax': '717.000000',
                       'latencyMin': '539.000000',
                       'name': 'STATFS'},
                      {'hits': '1',
                       'latencyAvg': '1030.000000',
                       'latencyMax': '1030.000000',
                       'latencyMin': '1030.000000',
                       'name': 'FSYNC'},
                      {'hits': '7',
                       'latencyAvg': '3937.857143',
                       'latencyMax': '26095.000000',
                       'latencyMin': '230.000000',
                       'name': 'ACCESS'},
                      {'hits': '6',
                       'latencyAvg': '1312.833333',
                       'latencyMax': '1996.000000',
                       'latencyMin': '814.000000',
                       'name': 'CREATE'},
                      {'hits': '8',
                       'latencyAvg': '498.125000',
                       'latencyMax': '818.000000',
                       'latencyMin': '389.000000',
                       'name': 'FSTAT'},
                      {'hits': '33',
                       'latencyAvg': '749.818182',
                       'latencyMax': '2354.000000',
                       'latencyMin': '340.000000',
                       'name': 'LOOKUP'},
                      {'hits': '3',
                       'latencyAvg': '231.666667',
                       'latencyMax': '282.000000',
                       'latencyMin': '202.000000',
                       'name': 'SETATTR'},
                      {'hits': '8',
                       'latencyAvg': '1717.875000',
                       'latencyMax': '5339.000000',
                       'latencyMin': '684.000000',
                       'name': 'READDIRP'}],
         'totalRead': '0',
         'totalWrite': '12'},
     'intervalStats': {
         'blockStats': [{'read': '0',
                         'size': '1',
                         'write': '0'},
                        {'read': '0',
                         'size': '2',
                         'write': '0'},
                        {'read': '0',
                         'size': '4',
                         'write': '0'},
                        {'read': '0',
                         'size': '8',
                         'write': '0'},
                        {'read': '0',
                         'size': '16',
                         'write': '0'},
                        {'read': '0',
                         'size': '32',
                         'write': '0'},
                        {'read': '0',
                         'size': '64',
                         'write': '0'},
                        {'read': '0',
                         'size': '128',
                         'write': '0'},
                        {'read': '0',
                         'size': '256',
                         'write': '0'},
                        {'read': '0',
                         'size': '512',
                         'write': '0'},
                        {'read': '0',
                         'size': '1024',
                         'write': '0'},
                        {'read': '0',
                         'size': '2048',
                         'write': '0'},
                        {'read': '0',
                         'size': '4096',
                         'write': '0'},
                        {'read': '0',
                         'size': '8192',
                         'write': '0'},
                        {'read': '0',
                         'size': '16384',
                         'write': '0'},
                        {'read': '0',
                         'size': '32768',
                         'write': '0'},
                        {'read': '0',
                         'size': '65536',
                         'write': '0'},
                        {'read': '0',
                         'size': '131072',
                         'write': '0'},
                        {'read': '0',
                         'size': '262144',
                         'write': '0'},
                        {'read': '0',
                         'size': '524288',
                         'write': '0'},
                        {'read': '0',
                         'size': '1048576',
                         'write': '0'},
                        {'read': '0',
                         'size': '2097152',
                         'write': '0'},
                        {'read': '0',
                         'size': '4194304',
                         'write': '0'},
                        {'read': '0',
                         'size': '8388608',
                         'write': '0'},
                        {'read': '0',
                         'size': '16777216',
                         'write': '0'},
                        {'read': '0',
                         'size': '33554432',
                         'write': '0'},
                        {'read': '0',
                         'size': '67108864',
                         'write': '0'},
                        {'read': '0',
                         'size': '134217728',
                         'write': '0'},
                        {'read': '0',
                         'size': '268435456',
                         'write': '0'},
                        {'read': '0',
                         'size': '536870912',
                         'write': '0'},
                        {'read': '0',
                         'size': '1073741824',
                         'write': '0'},
                        {'read': '0',
                         'size': '2147483648',
                         'write': '0'}],
         'duration': '24',
         'fopStats': [],
         'totalRead': '0',
         'totalWrite': '0'}}],
    'volumeName': 'music2'}
